package com.pig.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("./{moduleName}")
    public String module(@PathVariable String moduleName) {

        return moduleName;
    }

    //@RequestMapping("/cate-update")
    //public String moduleCate() {
    //    System.out.println(">>>>");
    //    return "cate-update";
    //}
}
